package com.zy.design.ocp.base;

/**
 * @author zhaoyi
 * @date 2021/3/15 17:22
 */
public class Notification {

    public void notify(NotificationEmergencyLevel urgency, String msg) {
        System.out.println("根据不同等级使用不同方式发信息 " + urgency + "msg " + msg);
    }
}
